JavaScript Programming
epub |eng | 2010-12-06 | Author:Flanagan, David [David Flanagan]

Canvas Example: Sparklines We’ll end this chapter with a practical example for drawing sparklines. A sparkline is a small data-display graphic intended to be included within the flow of text, ...
( Category: JavaScript Programming April 6,2014 )
epub |eng | 2012-08-07 | Author:Guillermo Rauch

module.exports = function search (query, fn) { request.get(‘http://search.twitter.com/search.json’) .data({ q: query }) .end(function (res) { if (res.body && Array.isArray(res.body.results)) { return fn(null, res.body.results); } fn(new Error(‘Bad twitter response’); }); }; ...
( Category: JavaScript Programming March 26,2014 )
epub, azw3 |eng | 2013-04-21 | Author:Peter Gasston

.bar { background-image: url('foo.svg#icon1'); } The :target pseudo-class is applied when the hash of a URL matches the id of an element; in this case the URL hash is #icon1, ...
( Category: Software Development March 26,2014 )
epub, pdf |eng | 2013-05-08 | Author:Jake Spurlock

Tabs on the right get the .tabs-right class (see Figure 3-21): <div class="tabbable tabs-right"> <ul class="nav nav-tabs"> <li class="active"><a href="#tab1" data-toggle="tab">Section A</a></li> <li><a href="#tab2" data-toggle="tab">Section B</a></li> <li><a href="#tab3" data-toggle="tab">Section C</a></li> ...
( Category: User Experience & Usability March 26,2014 )
epub, pdf |eng | 2011-04-18 | Author:David Flanagan [David Flanagan]

The animation properties object The first argument to animate() must be an object. The property names for this object must be CSS attribute names, and the values of those properties ...
( Category: Object-Oriented Design March 26,2014 )
epub |eng | 2012-09-13 | Author:Jess Chadwick, Todd Snyder & Hrusikesh Panda [Jess Chadwick, Todd Snyder, and Hrusikesh Panda]

Donut Hole Caching Donut hole caching is the inverse of donut caching: while the donut caching technique caches the entire page, leaving out only a few small sections, donut hole ...
( Category: NET March 26,2014 )
mobi |eng | 2011-12-13 | Author:Nicholas C. Zakas

var EventUtil = { //more code here getButton: function(event){ if (document.implementation.hasFeature("MouseEvents", "2.0")){ return event.button; } else { switch(event.button){ case 0: case 1: case 3: case 5: case 7: return 0; ...
( Category: Object-Oriented Design March 25,2014 )